<!-- 상단 메뉴 시작 -->
<% 
	accountPerm1 = "none"
	accountPerm2 = "none"
	If Request.Cookies("S_level") = "50" then 
		accountPerm1 = ""
		accountPerm2 = ""
	End if
	If Request.Cookies("S_level") = "10" then 
		accountPerm2 = ""
	End If
	
	'If Request.Cookies("S_destFolder") = "/chrome/" Then
	if instr(Request.ServerVariables("URL"), "/chrome/") > 0  then
		M_width="1265"
	Else 
		M_width="100%"
	End If 
	parent = ""
	If curPageNm = "statistics.asp" Then 
		parent = "parent."
	End If 
%>
<table border="0" cellpadding="0" cellspacing="0" width="<%=M_width%>"><tr><td style="background-color:#3366CC;height:2px"></td></tr></table>
<table border="0" cellpadding="0" cellspacing="0" width="<%=M_width%>" id="MenuTab">
	<tr height="30">
		<td width="180" class="lTD_00b0" style="height:45px"><img src="<%=Request.Cookies("conf_compImg")%>" width="150"></td>
<%	if instr(Request.ServerVariables("URL"), "/chrome/") = 0 Then %>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('dashBoard')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm2%>;" background="">데시보드</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('jobOrder')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm2%>;" background="">작업지시</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('unitProcess')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm2%>;" background="">공정관리</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('product')" style="CURSOR:hand;font-size:10pt;" background="">제품관리</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('src')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm2%>" background="">자재관리</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('order')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm2%>" background="">영업</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('comCode')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm2%>;" background="">기준정보</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('accountIn')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm1%>;" background="">회계</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('groupWork')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm2%>;" background="">그룹웨어</td>
<%	Else %>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('jobOrder')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm2%>;" background="">작업지시</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('equipBreak')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm2%>" background="">장비휴지</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('product')" style="CURSOR:hand;font-size:10pt;" background="">제품관리</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('srcStore')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm2%>" background="">원자재관리</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('comCode')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm2%>;" background="">기초코드</td>
<%	End If %>
		<!--
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('accountIn')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm1%>;" background="">회계(입금)</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('accountOut')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm1%>;" background="">회계(출금)</td>
		<td width="90" class="lTD_00b0" align="center" onclick="<%=parent%>mvPage('article')" style="CURSOR:hand;font-size:10pt;display:<%=accountPerm1%>;" background="">계정관리</td>
		-->
		<td width="*" class="lTD_00b0" align="right" background="/inc/layout/panel-title-light-bg.gif"><b><%=Request.Cookies("S_userNm")%></b>님 반갑습니다. &nbsp; <input type="button" onClick="window.open('pop_member.asp','mem','width=510,height=210,scrollbars=n')" value="개인정보" class="inputBtn">&nbsp; <input type="button" onClick="<%=parent%>fnLogOut()" value="Log-out" class="inputBtn"> &nbsp;</td>
	</tr>  
</table>
<!-- 상단 메뉴 끝 -->

<!-- #include virtual=/inc/commonLayer.inc.asp -->